"Protection" Section
It this section, you can lock some parameters of the shape against changing: they will remain unchanged when you manipulate the shape with the mouse or with the keyboard. However, even when locked, these parameters can still be changed in the Shape Parameter Table. The locked handles of the shape appear as grey padlocks.
All values of this section are binary values.
LockWidth
Locks the shape's width against resizing.
TRUE - the width can't be sized;
FALSE - the width can be sized.
LockHeight
Locks the shape's height against sizing.
TRUE - the height can't be sized;
FALSE - the height can be sized.
LockMoveX
Locks the shape against moving it horizontally.
TRUE - horizontal movements are prohibited;
FALSE - horizontal movements are allowed.
LockMoveY
Locks the shape against moving it vertically.
TRUE - vertical movements are prohibited;
FALSE - vertical movements are allowed.
LockAspect
Locks the shape against unproportional resizing.
TRUE - only proportional resizing is possible;
FALSE - both proportional and unproportional resizing is possible.
LockCalcWH
Sets whether the alignment box of the shape remains the same after you move a vertex on the shape, or changes according to the new contour of the shape.
TRUE - the alignment box remains the same;
FALSE - the alignment box changes according to the new contour.
LockRotate
Locks the shape against rotation.
TRUE - the rotation is prohibited;
FALSE - the rotation is allowed.
LockDelete
Locks the shape so that it cannot be deleted. When you try to delete a locked shape, a warning is displayed that it can't be deleted.
TRUE - the shape is protected against deleting;
FALSE - the shape can be deleted.
Note: If you want to protect a large number of shapes against deleting, it is convenient to assign them all to a separate layer, and then lock that layer in the Layer Properties dialog.
LockBegin
Locks the begin point of the shape (for 1D shapes) against repositioning.
TRUE - the point is locked;
FALSE - the point is not locked.
LockEnd
Locks the end point of the shape (for 1D shapes) against repositioning
TRUE - the point is locked;
FALSE - the point is not locked.
LockVertex
Prevents vertices from deleting or repositioning them with the mouse.
TRUE - the vertices of the figure can not be deleted or repositioned;
FALSE - the protection is off.
Note: Alternatively these parameters can be changed in the Shape Properties dialog, the Behavior tab.
Variables from the Protection section are specified in the following form in the formulas:
[<shape_name>.]<variable_name>
For more information about the Shape Properties dialog see Dialogs - Modal Dialogs - Shape Properties.
Return to The Table's Sections